﻿using System;
using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;
using System.Linq;
using System.Web;

/// <summary>
/// PubManageBll 的摘要说明
/// </summary>
public class PubManageBll : DataBase
{
    public PubManageBll()
    {
        //
        // TODO: 在此处添加构造函数逻辑
        //
    }
    #region 查询--出版社信息
    /// <summary>
    /// 根据--ISBN号--得到出版社信息
    /// </summary>
    /// <param name="pubmanage"></param>
    /// <param name="tbName"></param>
    /// <returns></returns>
    public DataSet FindPubByISBN(PubManageEntity pubmanage, string tbName)
    {
        SqlParameter[] prams = {
            this.MakeInParam("@isbn",  SqlDbType.VarChar, 30, pubmanage.ISBN+"%"),
            };
        return (this.RunProcReturn("select * from tb_pubinfo where ISBN like @isbn", prams, tbName));
    }
    ///可扩展增删改查
    #endregion
}